package com.kgcx.organization.domain;

import com.kgcx.dbutils.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_organization_auto_model")
@ApiModel(value = "车辆型号")
public class AutoModel extends BaseDomain {
    /**
     * 品牌id
     */
    @ApiModelProperty(value = "品牌id", required = true, example = "1")
    private Long autoBrandId;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称", required = true, example = "X5")
    private String name;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态，0=启用，1=停用", required = true, example = "0")
    private Integer state;

}